package edu.groupservice.eurekaserver;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by JPhoebe on 2017/7/10.
 */
@RestController
public class ConfigClientController {

    //@Value("${profile}")
    private String profile;

    @GetMapping("/getProfile")
    public String getProfile(){
        return profile;
    }

}
